IDataSeries

StockSharp.Xaml.Charting.Model.DataSeries

Defines the Generic interface to a DataSeries which provides a data-source to a BaseRenderableSeries

実装: IDataSeries, ISuspendable

プロパティ

XValues : IList<T>

Gets the X Values of this series

YValues : IList<T>

Gets the Y Values of this series

メソッド

Append(T, T[])

Appends an X, Y point to the series

x
The X Value
yValues
The Y Values (depends on series type)
Append(IEnumerable<T>, IEnumerable<T>[])

Appends a list of X, Y points to the series

x
The list of X points
yValues
Lists of Y points (depends on series type)
Clone() : IDataSeries<T, T>

Creates a deep copy of a DataSeries

GetYMaxAt(int, T) : T

Used internally by AutoRanging algorithm. When overriden in a derived class, gets the Max(existingYMax, currentMax), where currentMax is the maximum at the specified index

index
The index to the underlying dataset
existingYMax
The existing maximum

戻り値: The new YMax, which is the Min(existingYMax, currentMax)

GetYMinAt(int, T) : T

Used internally by AutoRanging algorithm. When overriden in a derived class, gets the Min(existingYMin, currentMin), where currentMin is the minimum at the specified index

index
The index to the underlying dataset
existingYMin
The existing minimum

戻り値: The new YMin, which is the Min(existingYMin, currentMin)

Remove(T)

Removes a point with the specified X Value

x
RemoveAt(int)

Removes a point at the specified index

index
RemoveRange(int, int)

Removes a range of points starting from the specified index

startIndex
Starting index of the range of elements to remove
count
The number of elements to remove